﻿namespace DslEditorPowerToy.Controls.Languages
{
    using DslEditorPowerToy.Controls;
    using System;

    public class SelectionChangedEventArgs : EventArgs
    {
        private ISelectionProvider _provider;
        private SelectionChangeSource _source = SelectionChangeSource.Any;

        public SelectionChangedEventArgs(ISelectionProvider provider, SelectionChangeSource source)
        {
            this._provider = provider;
            this._source = source;
        }

        public ISelectionProvider SelectionProvider
        {
            get
            {
                return this._provider;
            }
        }

        public SelectionChangeSource Source
        {
            get
            {
                return this._source;
            }
        }
    }
}

